package com.itheima.service;

import com.itheima.common.R;
import com.itheima.dto.ActivityDto;
import com.itheima.pojo.TbActivity;

import java.util.Date;
import java.util.List;

public interface TbActivityService {
    R listSelect(Integer id);

    R getActivityList(ActivityDto activityDto);

    R findById(Long id);

    R modify(TbActivity tbActivity);

    R remove(Long id);

    R passActivity(Long id);

    R reject(Long id);

    R add(TbActivity tbActivity);

    R getByChannel(String channel);


    R getById(Long activityId);

    List<TbActivity> getTime(Date startTime, Date endTime);
}
